body, nav, ul, li, a  {margin: 0; padding: 0;}
body {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
a {text-decoration: none;}
.container {
    width: 525px;
    max-width: 900px;
    margin: 10px auto;
	position:absolute;
	float:right;
	margin-left:690px;
	font-weight:bold;
}
.toggleMenu {
    display:  none;
    background: url(../images/nav1.png) no-repeat center center;
    padding: 10px 15px;
    color: #fff;
	float:right;
	position:absolute;
	margin-left:200px;
	
}


.nav {
    list-style: none;
    *zoom: 1;
    background:#111;
	-webkit-box-shadow: 0 2px 1px #c3c3c3;
    -moz-box-shadow: 0 2px 1px #c3c3c3;
    box-shadow: 0 2px 1px #c3c3c3;
	border-radius:15px;
	margin-top:20px;
	padding:2px; 
	
}
/*flechita arriba*/
.flechaarriba a:before{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
	
}
.flechaarriba a:hover:before{
    border-bottom-color: #F15A24; 

}
/*fin flechita arriba*/
/*flechita izquierda*/
.flechaizquierda a:before{
    content: '';
    position: absolute;
    left: -13px;
    top: 8px;
    width: 0;
    height: 0;
	border-top: 5px solid transparent;
    border-right: 8px solid #777;
    border-bottom: 5px solid transparent;
	
}
.flechaizquierda a:hover:before{
	border-right-color: #F15A24; 
	border-bottom-color: transparent; 

}

.flechaizquierda-grafico a:before{
    content: '';
    position: absolute;
    left: -8px;
    top: 8px;
    width: 0;
    height: 0;
	border-top: 5px solid transparent;
    border-right: 8px solid #777;
    border-bottom: 5px solid transparent;
	
}
.flechaizquierda-grafico a:hover:before{
	border-right-color: #F15A24; 
	border-bottom-color: transparent; 

}

/*fin flechita izquierda*/

/*borrar flechita arriba submenu*/

.borrarflecha a:before{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid transparent;
	
}

.borrarflecha a:hover:before{
    border-bottom-color: transparent; 

}
/*fin borrar flechita arriba submenu*/

.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: 9em;
	opacity: 0;
  -webkit-transition: opacity .5s ease, top .25s ease;
  -moz-transition: opacity .5s ease, top .25s ease;
  -ms-transition: opacity .5s ease, top .25s ease;
  -o-transition: opacity .5s ease, top .25s ease;
  transition: opacity .5s ease, top .25s ease;
  z-index:200;
}

.nav ul ul{
z-index:1000;
}

.nav a {
    padding: 10px 15px;
    color:#FF4500;
}

.nav a:hover{
	color:#fff;
	background:#FF4500;
	transition: color 1s;
	-webkit-transition: color 1s;
	-moz-transition: color 1s;
	-o-transition: color 1s;
	
}

.nav li {
    position: relative;
}

.nav li:first-child a:hover {
		border-radius:15px 0px 0px 15px;
}
	
.nav li:last-child a:hover {
	border-radius:0px 15px 15px 0px;
}

.nav li li:first-child a:hover {
		border-radius:0px 0px 0px 0px;
}
	
.nav li li:last-child a:hover {
	border-radius:0px 0px 0px 0px;
}

.nav > li {
    float: left;

}
.nav > li > .parent {
    background-image: url("../images/downArrow1.png");
    background-repeat: no-repeat;
    background-position: right;
}

.nav  > li > .parent:hover{
	background-image: url("../images/downArrow-hover1.png");
	background-repeat: no-repeat;
    background-position: right;
}

.nav > li li > .parent {
    background-image: url("../images/downArrow1.png");
    background-repeat: no-repeat;
    background-position: 90% 50%;

}

.nav  > li  li> .parent:hover{
	background-image: url("../images/downArrow-hover1.png");
	background-repeat: no-repeat;
    background-position: 90% 50%;
}

.nav > li > a {
    display: block;
	
}
.nav li  ul {
    position: absolute;
    left: -9999px;
	
}
.nav > li.hover > ul {
    left: 0;
	opacity:1;
}
.nav li li.hover ul {
    left: 100%;
    top: 0;
	opacity:1;
}
.nav li li a {
    display: block;
    background: #555;
    position: relative;
    z-index:1000;
    border-top: 1px solid #777;
	
	
}
.nav li li li a {
    background:#777;
    z-index:200;
    border-top: 1px solid #555;
}

@media only screen and (max-width: 1600px) {
	.container{
		margin-left:43%;
	}
}

@media screen and (max-width: 1000px) {
	.container{
		margin-top:0;
		width:350px;
	}
	.nav li:first-child a:hover {
		border-radius:15px 0px 0px 0px;
	}
	
	.nav li:last-child a:hover {
		border-radius:0px 0px 0px 0px;
	}
	
	.nav li:nth-child(4) a:hover{
		border-radius:0px 0px 0px 15px;
	}
 	
	.nav li li:first-child a:hover {
		border-radius:0px 0px 0px 0px;
	}
	
	.nav li li:last-child a:hover {
		border-radius:0px 0px 0px 0px;
	}
	
	.nav li li:nth-child(4) a:hover{
		border-radius:0px 0px 0px 0px;
	}
}

@media screen and (max-width: 750px) {
	.container{
	margin-top:0px;
		width:300px;
		
	}
}



@media screen and (max-width: 758px) {
	.container{
		margin-top:35px;
		width:250px;
	}
	.active {
        display: block;
		float:right;
		
    }
    .nav > li {
		
        float: none;
		z-index:100;
    }
	
	.nav li:first-child a:hover {
		border-radius:15px 15px 0px 0px;
	}
	
	.nav li:last-child a:hover {
		border-radius:0px 0px 15px 15px;
	}
	
	.nav li:nth-child(4) a:hover{
		border-radius:0px 0px 0px 0px;
	}
	
	.nav li li:first-child a:hover {
		border-radius:0px 0px 0px 0px;
	}
	
	.nav li li:last-child a:hover {
		border-radius:0px 0px 0px 0px;
	}
	
	.nav li li:nth-child(4) a:hover{
		border-radius:0px 0px 0px 0px;
	}
	
    .nav > li > .parent {
        background-position: 95% 50%;
		z-index:100;
    }
	
	.nav > li > .parent:hover {
		background-image: url("../images/downArrow-hover1.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
		
    }
	
    .nav li li .parent {
        background-image: url("../images/downArrow1.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
		z-index:200;
    }
	
	.nav li li .parent:hover{
		background-image: url("../images/downArrow-hover1.png");
		background-repeat: no-repeat;
		background-position: 95% 50%;
	}
	
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }
	/*movemos la flecha de izquierda hacia arriba */
	.flechaizquierda a:before{
		content: '';
		position: absolute;
		left: 30px;
		top: -12px;
		width: 0;
		height: 0;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-bottom: 8px solid #777;
	
	}
	.flechaizquierda a:hover:before{
		border-bottom-color: #F15A24; 
		border-right-color: transparent; 

	}
	
	
}

@media screen and (max-width: 640px) {
	.container{
	margin-top:35px;
		width:200px;
		
	}
	.toggleMenu{
		margin-left:100px;
	}
}

@media screen and (max-width: 580px) {
	.container{
		margin-top:35px;
		width:180px;
		
	}
	
@media screen and (max-width: 250px) {
	
	.container{
		margin-left:0px;
	}
	
	.toggleMenu{
		margin-top:0px;
		margin-left:130px;
	}	
}
	
@media screen and (max-width: 200px) {
	
	.container{
		margin-left:0px;
	}
	
	.toggleMenu{
		margin-top:25px;
		margin-left:20px;
	}	
}
	
	
}